update

FFIB 12 hours ago
parent
commit
ba258bd775
1 changed files with 3 additions and 0 deletions
  1. 3 0
      api/staff_views.py

+ 3 - 0
api/staff_views.py

@@ -350,6 +350,9 @@ def exec_del_consumer_submit(pk, admin_id):
350 350
     user.integral = max(user.integral, 0)
351 351
     user.save()
352 352
 
353
+    # 消除抽奖名单
354
+    LotteryEntryInfo.objects.filter(submit_pk=ssli.pk).update(status=False)
355
+
353 356
     # 消除统计记录
354 357
 
355 358
     ymd = str(ssli.ymd)